<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Remove an authorized publickey</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ssh2-publickey-list.html">ssh2_publickey_list</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ssh2-scp-recv.html">ssh2_scp_recv</a></div>
 <div class="up"><a href="ref.ssh2.html">SSH2 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.ssh2-publickey-remove" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ssh2_publickey_remove</h1>
  <p class="verinfo">(PECL ssh2 &gt;= 0.10)</p><p class="refpurpose"><span class="refname">ssh2_publickey_remove</span> &mdash; <span class="dc-title">
   Remove an authorized publickey
  </span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ssh2-publickey-remove-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">bool</span> <span class="methodname"><strong>ssh2_publickey_remove</strong></span>
    ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$pkey</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$algoname</code></span>
   , <span class="methodparam"><span class="type">string</span> <code class="parameter">$blob</code></span>
   )</div>

  <p class="para rdfs-comment">
   Removes an authorized publickey.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ssh2-publickey-remove-parameters">
  <h3 class="title">参数</h3>
  <p class="para">
   <dl>

    
     <dt>
<em><code class="parameter">pkey</code></em></dt>

     <dd>

      <p class="para">
       Publickey Subsystem Resource
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">algoname</code></em></dt>

     <dd>

      <p class="para">
       Publickey algorithm (e.g.): ssh-dss, ssh-rsa
      </p>
     </dd>

    
    
     <dt>
<em><code class="parameter">blob</code></em></dt>

     <dd>

      <p class="para">
       Publickey blob as raw binary data
      </p>
     </dd>

    
   </dl>

  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ssh2-publickey-remove-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   成功时返回 <strong><code>TRUE</code></strong>， 或者在失败时返回 <strong><code>FALSE</code></strong>。
  </p>
 </div>


 <div class="refsect1 notes" id="refsect1-function.ssh2-publickey-remove-notes">
  <h3 class="title">注释</h3>
  <blockquote class="note"><p><strong class="note">Note</strong>: <span class="simpara">公钥子系统用于管理服务器到<em class="emphasis">已</em>被认证的客户端的公钥。要用公钥认证方法来认证远程系统，应使用
<span class="function"><a href="function.ssh2-auth-pubkey-file.html" class="function">ssh2_auth_pubkey_file()</a></span> 函数。</span></p></blockquote>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ssh2-publickey-remove-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.ssh2-publickey-init.html" class="function" rel="rdfs-seeAlso">ssh2_publickey_init()</a> - Initialize Publickey subsystem</span></li>
    <li class="member"><span class="function"><a href="function.ssh2-publickey-add.html" class="function" rel="rdfs-seeAlso">ssh2_publickey_add()</a> - Add an authorized publickey</span></li>
    <li class="member"><span class="function"><a href="function.ssh2-publickey-list.html" class="function" rel="rdfs-seeAlso">ssh2_publickey_list()</a> - List currently authorized publickeys</span></li>
   </ul>
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ssh2-publickey-list.html">ssh2_publickey_list</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ssh2-scp-recv.html">ssh2_scp_recv</a></div>
 <div class="up"><a href="ref.ssh2.html">SSH2 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
